<template>
  <div>
     <h2>我是父组件</h2>
<SonComponent :sonMoney='fatherMoney' title ='去黑马学习'>

</SonComponent>
   </div>
</template>
 
<script>
import SonComponent from './SonComponent.vue'
export default {
  name: "SonComponent",
  components: {
    SonComponent,
  },
  props: {},
  data() {
    return {
      fatherMoney:100
    };
  },
  computed: {},
  watch: {},
  created() {},
  methods: {}
};
</script>

<style scoped>
     
</style>